package com.itheima.health.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.Role;
import com.itheima.health.vo.RoleVO;

import java.util.List;

public interface RoleService extends IService<Role> {

    PageResult findPage(QueryPageBean pageBean);

    RoleVO findAllpermissionIdsAndPermission(Integer id);

    Boolean addAndUpdate(RoleVO roleVO);
}
